package com.fz.mapper.system;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.fz.entity.system.Dictionary;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author fh
 * @since 2021-03-09
 */
public interface DictionaryMapper extends BaseMapper<Dictionary> {
     Page<Dictionary> findDictList(Page<Dictionary> page, @Param("desc") String desc, @Param("deleteStatus") int deleteStatus) throws Exception;

    List<Dictionary> selectDictionaryList(Page<Dictionary> page, @Param(Constants.WRAPPER) LambdaQueryWrapper<Dictionary> wrapper);
}
